package com.xinchuang.entity.targetSystem.damage;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 毁伤评定标准基础表
 * @TableName t_hurt_evaluate_basic
 */
@TableName(value ="t_hurt_evaluate_basic")
@Data
public class THurtEvaluateBasic implements Serializable {
    /**
     * 主键
     */
    @TableId
    private String id;

    /**
     * 类别id
     */
    private String targetTypeId;

    /**
     * 破坏等级
     */
    private String destroyLevel;

    /**
     * 破坏等级(字典)名称
     */
    @TableField(exist = false)
    private String destroyLevelName;

    /**
     * 毁伤效果
     */
    private String hurtEffect;

    /**
     * 毁伤特征
     */
    private String hurtFeature;

    /**
     * 计算指标
     */
    private String calculationIndicator;

    /**
     * 创建人
     */
    private String createUser;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 修改人
     */
    private String updateUser;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    /**
     * 状态(0:正常,1：删除)
     */
    private Integer dataStatus;

    @TableField(exist = false)
    private List<THurtEvaluateAmmunition> hurtEvaluateAmmunitionList;

    @TableField(exist = false)
    private List<THurtEvaluateSub> hurtEvaluateSubList;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}